package com.mrd.gtimpframe.entity;

import java.io.Serializable;

/**
 * CDAMS_QP_COMPANYS
 * @author dusy  2017-09-25
 * 经营单位编码表
 */
public class QPCompany implements Serializable {
    /**
     * 经营单位编码
     */
    private String companyCode;

    /**
     * 经营单位名称
     */
    private String companyName;

    /**
     * 单位地址
     */
    private String companyAddress;

    /**
     * 电话
     */
    private String companyPhone;

    /**
     * 传真
     */
    private String companyFax;

    /**
     * 报关单相关业务
     */
    private String declarationId;

    /**
     * 单位代码（18位社会统一代码）
     */
    private String companyCoUnite;

    /**
     * CDAMS_QP_COMPANYS
     */
    private static final long serialVersionUID = 1L;

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode == null ? null : companyCode.trim();
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName == null ? null : companyName.trim();
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress == null ? null : companyAddress.trim();
    }

    public String getCompanyPhone() {
        return companyPhone;
    }

    public void setCompanyPhone(String companyPhone) {
        this.companyPhone = companyPhone == null ? null : companyPhone.trim();
    }

    public String getCompanyFax() {
        return companyFax;
    }

    public void setCompanyFax(String companyFax) {
        this.companyFax = companyFax == null ? null : companyFax.trim();
    }

    public String getDeclarationId() {
        return declarationId;
    }

    public void setDeclarationId(String declarationId) {
        this.declarationId = declarationId == null ? null : declarationId.trim();
    }

    public String getCompanyCoUnite() {
        return companyCoUnite;
    }

    public void setCompanyCoUnite(String companyCoUnite) {
        this.companyCoUnite = companyCoUnite == null ? null : companyCoUnite.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", companyCode=").append(companyCode);
        sb.append(", companyName=").append(companyName);
        sb.append(", companyAddress=").append(companyAddress);
        sb.append(", companyPhone=").append(companyPhone);
        sb.append(", companyFax=").append(companyFax);
        sb.append(", declarationId=").append(declarationId);
        sb.append(", companyCoUnite=").append(companyCoUnite);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}